#include "Gk.h"

namespace gk
{
	DeviceHandle g_hDevice;
	DeviceHandle CreateDevice();

	void Initialise(InitParamsHandle hInitParams)
	{
		g_hDevice = CreateDevice();
		g_hDevice->Initialise(hInitParams);
	}

	DeviceHandle GetDevice()
	{
		return g_hDevice;
	}

	void Shutdown()
	{
		g_hDevice->Shutdown();
		g_hDevice.Destroy();
	}
}